<template>
  <view class="order-orgin">
    <view class="item">
      <view class="label">原单号</view>
      <view class="data">{{$ftext(data.third_no)}}</view>
    </view>
    <view class="item">
      <view class="label">原单类型</view>
      <view class="data">{{$ftext($fenum(`oms_order_in_type.${data.order_type}`,true))}}</view>
    </view>
    <view class="item">
      <view class="label">备注</view>
      <view class="data">{{$ftext(data.remark)}}</view>
    </view>
  </view>
</template>
<script setup lang="ts">
/**
 * @author:  cxy
 * @description 订单出入库确认-原单号组件
 * @param { object} data - 对象{ type: 'loading', message: "加载中"}  
 */
 const props = defineProps({
  data: {
    type: Object,
    default: () => {},
  },
});
</script>
<style scoped lang="scss">
  .order-orgin{
    padding: 40rpx 24rpx;
    .item{
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 40rpx;
      .label{
        height: 40rpx;
        font-size: 28rpx;
        font-weight: 400;
        color: #7F7F7F;
        line-height: 40rpx;
      }
      .data{
        height: 40rpx;
        font-size: 28rpx;
        font-weight: 400;
        color: #1A1C27;
        line-height: 40rpx;
      }
    }
  }
</style>
